<?php
/**
 * Created by PhpStorm.
 * User: mofeng
 * Date: 16/9/5
 * Time: 上午9:41
 */
namespace App\Api\Account\Models;

use Illuminate\Database\Eloquent\Model;

class UserCollection extends Model
{
    protected $table = 'user_collection';

    protected $fillable = [
        'type',
        'source_id',
        'user_id',
    ];

    static $type = [
        '1' => '房源收藏',
        '2' => '求租收藏',
        '3' => '动态收藏',
        '4' => '房源动态收藏',
        '5' => '求租动态收藏',
    ];
}